<div class="container">
  <form [formGroup]="configForm">
    <input type="hidden" formControlName="oldKey">
    <div class="ui-g ui-g-12">

      <div class="ui-g-6">
        <div class="ui-g-4">名称<span style="color:red;">*</span></div>
        <div class="ui-g-8"><input pInputText type="text" formControlName="configName" style="width:100%" /></div>
      </div>
      <div class="ui-g-6">
        <div class="ui-g-4">编码<span style="color:red;">*</span></div>
        <div class="ui-g-8"><input pInputText type="text" formControlName="configKey" style="width:100%" /></div>
      </div>
      <div class="ui-g-12">
        <div class="ui-g-2">值<span style="color:red;">*</span></div>
        <div class="ui-g-10"><textarea pInputTextarea formControlName="configValue" rows="3"
            style="width:100%"></textarea></div>
      </div>
      <div class="ui-g-12">
        <div class="ui-g-2">作用描述<span style="color:red;">*</span></div>
        <div class="ui-g-10"><textarea pInputTextarea formControlName="configDesc" rows="5"
            style="width:100%"></textarea></div>
      </div>
    </div>
  </form>
</div>

<div class="button-item">
  <button pButton type="text" class="ui-button-info" icon="fa fa-close" (click)="cancel()" label="取消"></button>
  <button pButton type="text" class="ui-button-success" icon="fa fa-check" (click)="saveUpdate()" label="保存"></button>

</div>